package com.ts.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Time;
import java.util.Date;

/**
 * 
 *
 * @author Ywl 193363874@qq.com
 * @since 1.0.0 2023-07-15
 */
@Data
@TableName("movie_session")
public class SessionEntity {

    /**
     * 场次id
     */
    @TableId(type= IdType.AUTO)
	private Integer id;
    /**
     * 电影id
     */
	private Integer movieId;
    /**
     * 电影院id
     */
	private String theatreId;
    /**
     * 票价
     */
	private Double price;
    /**
     * 2D0,3D1
     */
	private Integer type;
    /**
     * 开始时间
     */
	private Time startTime;
    /**
     * 播放日期
     */
	private Date date;
    /**
     * 房间id
     */
	private Integer roomId;
    /**
     * 座位详情
     */
	private String seats;
    /**
     * 
     */
	private Date createTime;
}